export function loginName(name,password) {
	return new Promise(function(resolve, reject) {
		uni.request({
			url: "/user/list",
			data: {
				"name": name,
				"password":password
			},
			header:{'contene-type':'application/x-www-form-urlencode'},
			success(res) {
				resolve(res);
			},
			fail(err) {
				reject(err);
			}
		})
	})
}